#ifndef QLS_OPENGL_DEMO_H
#define QLS_OPENGL_DEMO_H

#include <QWidget>

namespace Ui {
class OpenGLDemo;
}

class RenderForm;

class OpenGLDemo : public QWidget
{
    Q_OBJECT

public:
    explicit OpenGLDemo(QWidget *parent = nullptr);
    ~OpenGLDemo();

protected:
    bool eventFilter(QObject *watched, QEvent *event);

private slots:
    void onPushButton2Clicked();

private:
    Ui::OpenGLDemo *ui;
    RenderForm *render_{ nullptr };
};

#endif // QLS_OPENGL_DEMO_H
